package staticDemo;

public class blockT {
    public static void main(String[] args) {
        // 目标： 认识两种代码块，了解他们的特点和基本作用

        // 加载 blocks 类
        System.out.println(blockS.number);
        System.out.println(blockS.number);
        System.out.println(blockS.number);

        System.out.println(blockS.schoolName); // 河马

        System.out.println("------------------------------------");

        blockS b1 = new blockS();
        blockS b2 = new blockS("张三");

//        System.out.println(b1.age); // 18
//        System.out.println(b2.age); // 18
    }
}
